const { createProxyMiddleware } = require('http-proxy-middleware')

module.export = function (app) {
    app.use(
        '/ajax',
        createProxyMiddleware({
            target: 'https://m.maoyan.com',
            changeOrigin: true
        })
    )
}